﻿<html>
<head>
<title>执行脚本</title>
<link rel="stylesheet" href="/css/def.css">
<link rel="stylesheet" href="/css/tab.css">
<script src="/js/p.js"></script>
</head>

<body class="MyBody">

<div style="overflow: auto; text-align: left; height: 35px; background-color: #C1FFE4;"></div>

<table cellpadding='0' cellspacing='0' class='Header3'>
<tr>
<td nowrap="nowrap" align="left" style="background-color:#fcfcfc;">
<div><textarea id="execText" rows="20" cols="80"></textarea><br />
&nbsp; &nbsp;月份：<input type="text" name="yearMonth" id="yearMonth" placeholder="yyyyMM" size="20" />
<input type="button" name=deleteData value="执行" onclick="doExec()" /></div>
</td>
</tr>
</table>

<div id="divResultMsg" style="text-align: left; background-color: #C1FFE4;">
<table id="tabResultMsg" style="border: solid 0px #C1FFE4; text-align:left;color: #3E6373; display:none;">
<tr>
<td style="padding: 5px 0px 0px 10px;vertical-align: top;"></td>
<td style="padding-top:5px"><pre id="spanResultMsg" style=" font-size: 12px;">xx</pre></td>
</tr></table>
</div>

<div id="divHintMsg" style="position:absolute; top:0px; right:30px;font-size: 12px;padding: 2px 2px 2px 2px; z-index: 9901;background:#DDDDDD;filter:alpha(opacity=60);opacity:0.6; border: solid 1px #BCBCBC; display: none;"></div>

<script type="text/javascript">
document.getElementById("yearMonth").value = new Date().format("yyyyMM");
function doExec(){
	//if(confirm("确定执行？")==true){
		outputResultMsg("");
		var pData = "{\"yearMonth\":\""+document.getElementById("yearMonth").value+"\",\"execText\":\""+document.getElementById("execText").value+"\"}";
		postHttp("/m/doexec", pData, showRespInfo, "");
	//}
}

</script>
</body></html>

